package com.mp.chart.formatter;

public class DateFormatter implements XValueFormatter {

    private String strForm;
    private String typeIndex;

    /*    private String[] typeStrs = new String[]{"1", "5", "1440", "week", "month", "1", "5", "15", "30", "60", "240"};
    */
    public DateFormatter() {
    }

    public DateFormatter(String typeIndex) {
        this.typeIndex = typeIndex;
    }

    @Override
    public String getFormattedValue(String value) {


//        switch (typeIndex) {
//            case "day":
//            case "week":
//            case "month":
//                value = value;
//                break;
//            case "5":
//            case "30":
//            case "60":
//                value = value;
//
//                break;
//
//        }

        return value;
    }
}
